package com.jwell.bigdata.contract

import com.jwell.bigdata.base.IBaseView
import com.jwell.bigdata.utils.BaseSubscriber

class LoginContract {
    interface View : IBaseView {
        fun checkLogin(isLogin:Boolean,cookieString:String)

        fun loginSuccess(cookString:String)

    }

    interface Presenter {
        fun checkLogin()

        fun login(account:String,pass:String)
    }

    interface Model {
        fun checkLogin(ticket:String,baseSubscriber: BaseSubscriber);
        fun login(account:String,pass:String, baseSubscriber: BaseSubscriber)
    }
}